package com.demo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("tb_registration_information")
public class RegistrationInformation implements Serializable {
    @TableId(type = IdType.AUTO,value="ri_id")
    private Long riId;
    @TableField(value="ri_uid")
    private Long riUid;
    @TableField(value = "ri_unickname")
    private String riUnickname;
    @TableField(value = "ri_realname")
    private String riRealname;
    @TableField(value = "ri_grade")
    private Integer riGrade;
    @TableField(value = "ri_major")
    private String riMajor;
    @TableField(value = "ri_contact")
    private String riContact;
    @TableField(value = "ri_intro")
    private String riIntro;
    @TableField(value = "ri_team_id")
    private Long riTeamId;
    @JsonFormat(timezone = "GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime riApplyTime;
    @JsonFormat(timezone = "GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime riCheckTime;
    @JsonFormat(timezone = "GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime riCancelTime;
    private Integer riReviewStatus;
    @TableField(value = "ri_had_viewed")
    private Integer riHadViewed;
    @TableField(value = "ri_del_flag")
    private Integer riDelFlag;

}
